<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPHINXsys/src/shared/particle_dynamics/base_particle_dynamics.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3dc1dabd28ba78e072d14d3fcfc90454.html">SPHINXsys</a></li><li class="navelem"><a class="el" href="dir_48ea983704c43b6d88c1fa3f4d09e369.html">src</a></li><li class="navelem"><a class="el" href="dir_0a0d9ef1793521534f0094f317758287.html">shared</a></li><li class="navelem"><a class="el" href="dir_05f659066ce4fa1dc9c19bd298f55a53.html">particle_dynamics</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">base_particle_dynamics.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="base__particle__dynamics_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -------------------------------------------------------------------------*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">*                               SPHinXsys                                   *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">* --------------------------------------------------------------------------*</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">* SPHinXsys (pronunciation: s&#39;finksis) is an acronym from Smoothed Particle *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">* Hydrodynamics for industrial compleX systems. It provides C++ APIs for    *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">* physical accurate simulation and aims to model coupled industrial dynamic *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">* systems including fluid, solid, multi-body dynamics and beyond with SPH   *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">* (smoothed particle hydrodynamics), a meshless computational method using  *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">* particle discretization.                                                  *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">* SPHinXsys is partially funded by German Research Foundation               *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">* (Deutsche Forschungsgemeinschaft) DFG HU1527/6-1, HU1527/10-1             *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">* and HU1527/12-1.                                                          *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">* Portions copyright (c) 2017-2020 Technical University of Munich and       *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">* the authors&#39; affiliations.                                                *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">* Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may   *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">* not use this file except in compliance with the License. You may obtain a *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">* copy of the License at http://www.apache.org/licenses/LICENSE-2.0.        *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">*                                                                           *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">* --------------------------------------------------------------------------*/</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;base_data_package.h&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sph__data__conainers_8h.html">sph_data_conainers.h</a>&quot;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="all__particles_8h.html">all_particles.h</a>&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="all__materials_8h.html">all_materials.h</a>&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="neighbor__relation_8h.html">neighbor_relation.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="all__types__of__bodies_8h.html">all_types_of_bodies.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="all__meshes_8h.html">all_meshes.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="external__force_8h.html">external_force.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="body__relation_8h.html">body_relation.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd_1_1placeholders.html">std::placeholders</a>;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_p_h.html">SPH</a> </div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;{</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">   47</a></span>&#160;    <span class="keyword">typedef</span> std::function&lt;void(size_t, Real)&gt; <a class="code" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">InnerFunctor</a>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> ReturnType&gt;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#a87043d855375056552eeedcb239e3b4f">   50</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#a87043d855375056552eeedcb239e3b4f">ReduceFunctor</a> = std::function&lt;ReturnType(size_t, Real)&gt;;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#a10a3a73d7878e0158edd0d48539d0837">InnerIterator</a>(<span class="keywordtype">size_t</span> number_of_particles, <a class="code" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">InnerFunctor</a> &amp;inner_functor, Real dt = 0.0);</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#aed0bcf3e9f52c6c0bdf32c9c8e611384">InnerIterator_parallel</a>(<span class="keywordtype">size_t</span> number_of_particles, <a class="code" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">InnerFunctor</a> &amp;inner_functor, Real dt = 0.0);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> ReturnType, <span class="keyword">typename</span> ReduceOperation&gt;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    ReturnType <a class="code" href="namespace_s_p_h.html#ad250ef185453b99f83adbe53f8c69bd0">ReduceIterator</a>(<span class="keywordtype">size_t</span> number_of_particles, ReturnType temp,</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <a class="code" href="namespace_s_p_h.html#a87043d855375056552eeedcb239e3b4f">ReduceFunctor&lt;ReturnType&gt;</a> &amp;reduce_functor, ReduceOperation &amp;ruduce_operation, Real dt = 0.0);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> ReturnType, <span class="keyword">typename</span> ReduceOperation&gt;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    ReturnType <a class="code" href="namespace_s_p_h.html#ae67614e6fa390ff328d75e153953266b">ReduceIterator_parallel</a>(<span class="keywordtype">size_t</span> number_of_particles, ReturnType temp,</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <a class="code" href="namespace_s_p_h.html#a87043d855375056552eeedcb239e3b4f">ReduceFunctor&lt;ReturnType&gt;</a> &amp;reduce_functor, ReduceOperation &amp;ruduce_operation, Real dt = 0.0);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#ad54a46b3cac17ae64431b972e98d39ba">   67</a></span>&#160;    <span class="keyword">typedef</span> std::function&lt;void(CellList*, Real)&gt; <a class="code" href="namespace_s_p_h.html#ad54a46b3cac17ae64431b972e98d39ba">CellListFunctor</a>;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#a8943304f1889fc056ab4ddb8ff8f0cd6">CellListIteratorSplitting</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a>&amp; split_cell_lists,</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <a class="code" href="namespace_s_p_h.html#ad54a46b3cac17ae64431b972e98d39ba">CellListFunctor</a>&amp; cell_list_functor, Real dt = 0.0);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#aa3ba1e88d8c28368f3072187a886d98f">CellListIteratorSplitting_parallel</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a>&amp; split_cell_lists,</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <a class="code" href="namespace_s_p_h.html#ad54a46b3cac17ae64431b972e98d39ba">CellListFunctor</a>&amp; cell_list_functor, Real dt = 0.0);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#a41e19d62befa9263a1fd36fe0d46432a">InnerIteratorSplitting</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a>&amp; split_cell_lists,</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <a class="code" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">InnerFunctor</a> &amp;inner_functor, Real dt = 0.0);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#ae524ec7b1541d0c8e69f8958bba90d22">InnerIteratorSplitting_parallel</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a>&amp; split_cell_lists,</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <a class="code" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">InnerFunctor</a> &amp;inner_functor, Real dt = 0.0);</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#a8e73aa5a962c1f775e068b393c23447b">InnerIteratorSplittingSweeping</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a>&amp; split_cell_lists,</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <a class="code" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">InnerFunctor</a>&amp; inner_functor, Real dt = 0.0);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespace_s_p_h.html#aa70a1c5c5d20720233f10150bcbb6dfb">InnerIteratorSplittingSweeping_parallel</a>(<a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a>&amp; split_cell_lists,</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <a class="code" href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">InnerFunctor</a>&amp; inner_functor, Real dt = 0.0);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> ReturnType&gt;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="struct_s_p_h_1_1_reduce_sum.html">   91</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_s_p_h_1_1_reduce_sum.html">ReduceSum</a> { ReturnType operator () (ReturnType x, ReturnType y)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> x + y; }; };</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="struct_s_p_h_1_1_reduce_max.html">   93</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_s_p_h_1_1_reduce_max.html">ReduceMax</a> { Real operator () (Real x, Real y)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> SMAX(x, y); }; };</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="struct_s_p_h_1_1_reduce_min.html">   95</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_s_p_h_1_1_reduce_min.html">ReduceMin</a> { Real operator () (Real x, Real y)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> SMIN(x, y); }; };</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="struct_s_p_h_1_1_reduce_o_r.html">   97</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_s_p_h_1_1_reduce_o_r.html">ReduceOR</a> { <span class="keywordtype">bool</span> operator () (<span class="keywordtype">bool</span> x, <span class="keywordtype">bool</span> y)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> x || y; }; };</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="struct_s_p_h_1_1_reduce_lower_bound.html">   99</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_s_p_h_1_1_reduce_lower_bound.html">ReduceLowerBound</a> {</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        Vecd operator () (Vecd x, Vecd y)<span class="keyword"> const </span>{</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;            Vecd lower_bound;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; lower_bound.size(); ++i) lower_bound[i] = SMIN(x[i], y[i]);</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            <span class="keywordflow">return</span> lower_bound;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        }; </div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    };</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="struct_s_p_h_1_1_reduce_upper_bound.html">  107</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_s_p_h_1_1_reduce_upper_bound.html">ReduceUpperBound</a> {</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        Vecd operator () (Vecd x, Vecd y)<span class="keyword"> const </span>{</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;            Vecd upper_bound;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; upper_bound.size(); ++i) upper_bound[i] = SMIN(x[i], y[i]);</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            <span class="keywordflow">return</span> upper_bound;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        };</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    };</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_global_static_variables.html">  119</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_global_static_variables.html">GlobalStaticVariables</a></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    {</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1_global_static_variables.html">GlobalStaticVariables</a>() {};</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_global_static_variables.html#ade84c016ddfa66794108619277313c82">  123</a></span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_global_static_variables.html">GlobalStaticVariables</a>() {};</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keyword">static</span> Real physical_time_;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    };</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> ReturnType&gt;</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_dynamics.html">  136</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_dynamics.html">Dynamics</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_global_static_variables.html">GlobalStaticVariables</a></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    {</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> setupDynamics(Real dt = 0.0) = 0;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_dynamics.html#a343c5cd5886c1c142ec2f995449029f5">  142</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1_dynamics.html#a343c5cd5886c1c142ec2f995449029f5">Dynamics</a>() : <a class="code" href="class_s_p_h_1_1_global_static_variables.html">GlobalStaticVariables</a>() {};</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_dynamics.html">Dynamics</a>() {};</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <span class="keyword">virtual</span> ReturnType exec(<a class="code" href="class_real.html">Real</a> dt = 0.0) = 0;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keyword">virtual</span> ReturnType parallel_exec(<a class="code" href="class_real.html">Real</a> dt = 0.0) = 0;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    };</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class </span>ReturnType, <span class="keyword">class </span>BodyType, </div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <span class="keyword">class </span>ParticlesType = BaseParticles, <span class="keyword">class </span>MaterialType = BaseMaterial&gt;</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics.html">  159</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_dynamics.html">Dynamics</a>&lt;ReturnType&gt;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    {</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        BodyType* body_;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        ParticlesType* particles_;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        MaterialType* material_;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        <a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a>&amp; split_cell_lists_;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <a class="code" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">BaseMeshCellLinkedList</a>* mesh_cell_linked_list_;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics.html#ad17dd35a0798d79d490d84f85f98cd7a">  169</a></span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics.html#ad17dd35a0798d79d490d84f85f98cd7a">setupDynamics</a>(Real dt = 0.0)<span class="keyword"> override </span>{ body_-&gt;setNewlyUpdated(); };</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics.html#a129036fc16e69eb21e69a259ca20036a">  172</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics.html#a129036fc16e69eb21e69a259ca20036a">ParticleDynamics</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a>* body) : <a class="code" href="class_s_p_h_1_1_dynamics.html">Dynamics</a>&lt;ReturnType&gt;(), </div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;            body_(dynamic_cast&lt;BodyType*&gt;(body)),</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;            particles_(dynamic_cast&lt;ParticlesType*&gt;(body-&gt;base_particles_)),</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;            material_(dynamic_cast&lt;MaterialType*&gt;(body-&gt;base_particles_-&gt;base_material_)),</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;            split_cell_lists_(body-&gt;split_cell_lists_), mesh_cell_linked_list_(body-&gt;base_mesh_cell_linked_list_) {};</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a>() {};</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    };</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> BodyType, <span class="keyword">class</span> ParticlesType = BaseParticles, <span class="keyword">class</span> MaterialType = BaseMaterial&gt;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html">  186</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html">ParticleDynamicsWithInnerConfigurations</a></div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a>&lt;void, BodyType, ParticlesType, MaterialType&gt;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    {</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html#a847144aa189dd161047be589b5b59507">  191</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">ParticleConfiguration</a>&amp; <a class="code" href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html#a847144aa189dd161047be589b5b59507">inner_configuration_</a>;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html">ParticleDynamicsWithInnerConfigurations</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body_inner_relation.html">SPHBodyInnerRelation</a>* body_inner_relation)</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;            : <a class="code" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a>&lt;void, BodyType, ParticlesType, MaterialType&gt;(body_inner_relation-&gt;body_),</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;            inner_configuration_(body_inner_relation-&gt;inner_configuration_) {};</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html">ParticleDynamicsWithInnerConfigurations</a>() {};</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    };</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class </span>BodyType, <span class="keyword">class </span>ParticlesType, <span class="keyword">class </span>MaterialType,</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        <span class="keyword">class </span>ContactBodyType, <span class="keyword">class </span>ContactParticlesType, <span class="keyword">class </span>ContactMaterialType = BaseMaterial&gt;</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html">  205</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html">ParticleDynamicsWithContactConfigurations</a></div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a>&lt;void, BodyType, ParticlesType, MaterialType&gt;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    {</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        StdVec&lt;ContactBodyType*&gt;  contact_bodies_;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        StdVec&lt;ContactParticlesType*&gt;  contact_particles_;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        StdVec&lt;ContactMaterialType*&gt;  contact_material_;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html#a8a73fe1f7d8c22453a3c91c702b18796">  214</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#ab3fc1b1f18f3097bb92b3d4cf6913139">ContatcParticleConfiguration</a>&amp; <a class="code" href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html#a8a73fe1f7d8c22453a3c91c702b18796">contact_configuration_</a>;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html">ParticleDynamicsWithContactConfigurations</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body_contact_relation.html">SPHBodyContactRelation</a>* body_contact_relation);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html">ParticleDynamicsWithContactConfigurations</a>() {};</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    };</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class </span>BodyType, <span class="keyword">class </span>ParticlesType, <span class="keyword">class </span>MaterialType,</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <span class="keyword">class </span>ContactBodyType, <span class="keyword">class </span>ContactParticlesType, <span class="keyword">class </span>ContactMaterialType = BaseMaterial&gt;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html">  226</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html">ParticleDynamicsWithComplexConfigurations</a></div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics.html">ParticleDynamics</a>&lt;void, BodyType, ParticlesType, MaterialType&gt;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    {</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    <span class="keyword">protected</span>:</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        StdVec&lt;ContactBodyType*&gt;  contact_bodies_;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        StdVec&lt;ContactParticlesType*&gt;  contact_particles_;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        StdVec&lt;ContactMaterialType*&gt;  contact_material_;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html#a9d8291c1835d4cc087c6088611195d48">  235</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">ParticleConfiguration</a>&amp; <a class="code" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html#a9d8291c1835d4cc087c6088611195d48">inner_configuration_</a>;</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html#a891cf758bf8e0c8fdf6fa421f5dbe777">  237</a></span>&#160;        <a class="code" href="namespace_s_p_h.html#ab3fc1b1f18f3097bb92b3d4cf6913139">ContatcParticleConfiguration</a>&amp; <a class="code" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html#a891cf758bf8e0c8fdf6fa421f5dbe777">contact_configuration_</a>;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html">ParticleDynamicsWithComplexConfigurations</a>(<a class="code" href="class_s_p_h_1_1_s_p_h_body_complex_relation.html">SPHBodyComplexRelation</a>* body_complex_relation);</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html">ParticleDynamicsWithComplexConfigurations</a>() {};</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    };</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;}</div><div class="ttc" id="namespace_s_p_h_html_ac592bbe202be73decfcbfe8201484ffa"><div class="ttname"><a href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SPH::SplitCellLists</a></div><div class="ttdeci">StdVec&lt; ConcurrentCellLists &gt; SplitCellLists</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:51</div></div>
<div class="ttc" id="namespacestd_1_1placeholders_html"><div class="ttname"><a href="namespacestd_1_1placeholders.html">placeholders</a></div></div>
<div class="ttc" id="all__materials_8h_html"><div class="ttname"><a href="all__materials_8h.html">all_materials.h</a></div><div class="ttdoc">This is the header file that user code should include to pick up all material. </div></div>
<div class="ttc" id="struct_s_p_h_1_1_reduce_min_html"><div class="ttname"><a href="struct_s_p_h_1_1_reduce_min.html">SPH::ReduceMin</a></div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:95</div></div>
<div class="ttc" id="struct_s_p_h_1_1_reduce_lower_bound_html"><div class="ttname"><a href="struct_s_p_h_1_1_reduce_lower_bound.html">SPH::ReduceLowerBound</a></div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:99</div></div>
<div class="ttc" id="namespace_s_p_h_html_aa5a0f879b2953392d978d2506abd6ab3"><div class="ttname"><a href="namespace_s_p_h.html#aa5a0f879b2953392d978d2506abd6ab3">SPH::InnerFunctor</a></div><div class="ttdeci">std::function&lt; void(size_t, Real)&gt; InnerFunctor</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:47</div></div>
<div class="ttc" id="class_s_p_h_1_1_base_mesh_cell_linked_list_html"><div class="ttname"><a href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">SPH::BaseMeshCellLinkedList</a></div><div class="ttdoc">Abstract class for mesh cell linked list. </div><div class="ttdef"><b>Definition:</b> mesh_cell_linked_list.h:44</div></div>
<div class="ttc" id="all__particles_8h_html"><div class="ttname"><a href="all__particles_8h.html">all_particles.h</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_html_ad17dd35a0798d79d490d84f85f98cd7a"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics.html#ad17dd35a0798d79d490d84f85f98cd7a">SPH::ParticleDynamics::setupDynamics</a></div><div class="ttdeci">virtual void setupDynamics(Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:169</div></div>
<div class="ttc" id="class_s_p_h_1_1_global_static_variables_html"><div class="ttname"><a href="class_s_p_h_1_1_global_static_variables.html">SPH::GlobalStaticVariables</a></div><div class="ttdoc">A place to put all global variables. </div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:119</div></div>
<div class="ttc" id="namespace_s_p_h_html_aa3ba1e88d8c28368f3072187a886d98f"><div class="ttname"><a href="namespace_s_p_h.html#aa3ba1e88d8c28368f3072187a886d98f">SPH::CellListIteratorSplitting_parallel</a></div><div class="ttdeci">void CellListIteratorSplitting_parallel(SplitCellLists &amp;split_cell_lists, CellListFunctor &amp;cell_list_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:47</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_inner_relation_html"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body_inner_relation.html">SPH::SPHBodyInnerRelation</a></div><div class="ttdoc">The relation within a SPH body. </div><div class="ttdef"><b>Definition:</b> body_relation.h:65</div></div>
<div class="ttc" id="struct_s_p_h_1_1_reduce_sum_html"><div class="ttname"><a href="struct_s_p_h_1_1_reduce_sum.html">SPH::ReduceSum</a></div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:91</div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_with_inner_configurations_html_a847144aa189dd161047be589b5b59507"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html#a847144aa189dd161047be589b5b59507">SPH::ParticleDynamicsWithInnerConfigurations::inner_configuration_</a></div><div class="ttdeci">ParticleConfiguration &amp; inner_configuration_</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:191</div></div>
<div class="ttc" id="namespace_s_p_h_html_aed0bcf3e9f52c6c0bdf32c9c8e611384"><div class="ttname"><a href="namespace_s_p_h.html#aed0bcf3e9f52c6c0bdf32c9c8e611384">SPH::InnerIterator_parallel</a></div><div class="ttdeci">void InnerIterator_parallel(size_t number_of_particles, InnerFunctor &amp;inner_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:19</div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_with_contact_configurations_html_a8a73fe1f7d8c22453a3c91c702b18796"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html#a8a73fe1f7d8c22453a3c91c702b18796">SPH::ParticleDynamicsWithContactConfigurations::contact_configuration_</a></div><div class="ttdeci">ContatcParticleConfiguration &amp; contact_configuration_</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:214</div></div>
<div class="ttc" id="struct_s_p_h_1_1_reduce_o_r_html"><div class="ttname"><a href="struct_s_p_h_1_1_reduce_o_r.html">SPH::ReduceOR</a></div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:97</div></div>
<div class="ttc" id="namespace_s_p_h_html_a87043d855375056552eeedcb239e3b4f"><div class="ttname"><a href="namespace_s_p_h.html#a87043d855375056552eeedcb239e3b4f">SPH::ReduceFunctor</a></div><div class="ttdeci">std::function&lt; ReturnType(size_t, Real)&gt; ReduceFunctor</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:50</div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_with_complex_configurations_html_a891cf758bf8e0c8fdf6fa421f5dbe777"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html#a891cf758bf8e0c8fdf6fa421f5dbe777">SPH::ParticleDynamicsWithComplexConfigurations::contact_configuration_</a></div><div class="ttdeci">ContatcParticleConfiguration &amp; contact_configuration_</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:237</div></div>
<div class="ttc" id="namespace_s_p_h_html_a10a3a73d7878e0158edd0d48539d0837"><div class="ttname"><a href="namespace_s_p_h.html#a10a3a73d7878e0158edd0d48539d0837">SPH::InnerIterator</a></div><div class="ttdeci">void InnerIterator(size_t number_of_particles, InnerFunctor &amp;inner_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:13</div></div>
<div class="ttc" id="neighbor__relation_8h_html"><div class="ttname"><a href="neighbor__relation_8h.html">neighbor_relation.h</a></div><div class="ttdoc">There are the classes for a neighboring particle. It saves the information for carring out pair inter...</div></div>
<div class="ttc" id="class_s_p_h_1_1_dynamics_html_a343c5cd5886c1c142ec2f995449029f5"><div class="ttname"><a href="class_s_p_h_1_1_dynamics.html#a343c5cd5886c1c142ec2f995449029f5">SPH::Dynamics::Dynamics</a></div><div class="ttdeci">Dynamics()</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:142</div></div>
<div class="ttc" id="namespace_s_p_h_html_ad54a46b3cac17ae64431b972e98d39ba"><div class="ttname"><a href="namespace_s_p_h.html#ad54a46b3cac17ae64431b972e98d39ba">SPH::CellListFunctor</a></div><div class="ttdeci">std::function&lt; void(CellList *, Real)&gt; CellListFunctor</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:67</div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_html_a129036fc16e69eb21e69a259ca20036a"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics.html#a129036fc16e69eb21e69a259ca20036a">SPH::ParticleDynamics::ParticleDynamics</a></div><div class="ttdeci">ParticleDynamics(SPHBody *body)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:172</div></div>
<div class="ttc" id="all__meshes_8h_html"><div class="ttname"><a href="all__meshes_8h.html">all_meshes.h</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_contact_relation_html"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body_contact_relation.html">SPH::SPHBodyContactRelation</a></div><div class="ttdoc">The relation between a SPH body and its contact SPH bodies. </div><div class="ttdef"><b>Definition:</b> body_relation.h:82</div></div>
<div class="ttc" id="body__relation_8h_html"><div class="ttname"><a href="body__relation_8h.html">body_relation.h</a></div><div class="ttdoc">The topological relations between bodies are described here. </div></div>
<div class="ttc" id="struct_s_p_h_1_1_reduce_max_html"><div class="ttname"><a href="struct_s_p_h_1_1_reduce_max.html">SPH::ReduceMax</a></div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:93</div></div>
<div class="ttc" id="class_real_html"><div class="ttname"><a href="class_real.html">Real</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_complex_relation_html"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body_complex_relation.html">SPH::SPHBodyComplexRelation</a></div><div class="ttdoc">The relation within a SPH body and with its contact SPH bodies. The interaction is in a inner-boundar...</div><div class="ttdef"><b>Definition:</b> body_relation.h:124</div></div>
<div class="ttc" id="namespace_s_p_h_html_a720b2214c518c3299a6d4895dacddc50"><div class="ttname"><a href="namespace_s_p_h.html#a720b2214c518c3299a6d4895dacddc50">SPH::ParticleConfiguration</a></div><div class="ttdeci">StdLargeVec&lt; Neighborhood &gt; ParticleConfiguration</div><div class="ttdef"><b>Definition:</b> neighbor_relation.h:94</div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_with_inner_configurations_html"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_with_inner_configurations.html">SPH::ParticleDynamicsWithInnerConfigurations</a></div><div class="ttdoc">Particle dynamics base class for the case with the inner configuration. </div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:186</div></div>
<div class="ttc" id="sph__data__conainers_8h_html"><div class="ttname"><a href="sph__data__conainers_8h.html">sph_data_conainers.h</a></div><div class="ttdoc">Set up of basic data structure. </div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_with_complex_configurations_html_a9d8291c1835d4cc087c6088611195d48"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html#a9d8291c1835d4cc087c6088611195d48">SPH::ParticleDynamicsWithComplexConfigurations::inner_configuration_</a></div><div class="ttdeci">ParticleConfiguration &amp; inner_configuration_</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:235</div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_with_contact_configurations_html"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_with_contact_configurations.html">SPH::ParticleDynamicsWithContactConfigurations</a></div><div class="ttdoc">This is the bas class for the case with contact configurations. </div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:205</div></div>
<div class="ttc" id="namespace_s_p_h_html_a8e73aa5a962c1f775e068b393c23447b"><div class="ttname"><a href="namespace_s_p_h.html#a8e73aa5a962c1f775e068b393c23447b">SPH::InnerIteratorSplittingSweeping</a></div><div class="ttdeci">void InnerIteratorSplittingSweeping(SplitCellLists &amp;split_cell_lists, InnerFunctor &amp;inner_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:108</div></div>
<div class="ttc" id="namespace_s_p_h_html_aa70a1c5c5d20720233f10150bcbb6dfb"><div class="ttname"><a href="namespace_s_p_h.html#aa70a1c5c5d20720233f10150bcbb6dfb">SPH::InnerIteratorSplittingSweeping_parallel</a></div><div class="ttdeci">void InnerIteratorSplittingSweeping_parallel(SplitCellLists &amp;split_cell_lists, InnerFunctor &amp;inner_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:141</div></div>
<div class="ttc" id="namespace_s_p_h_html_ad250ef185453b99f83adbe53f8c69bd0"><div class="ttname"><a href="namespace_s_p_h.html#ad250ef185453b99f83adbe53f8c69bd0">SPH::ReduceIterator</a></div><div class="ttdeci">ReturnType ReduceIterator(size_t number_of_particles, ReturnType temp, ReduceFunctor&lt; ReturnType &gt; &amp;reduce_functor, ReduceOperation &amp;ruduce_operation, Real dt=0.0)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.hpp:47</div></div>
<div class="ttc" id="namespace_s_p_h_html_a41e19d62befa9263a1fd36fe0d46432a"><div class="ttname"><a href="namespace_s_p_h.html#a41e19d62befa9263a1fd36fe0d46432a">SPH::InnerIteratorSplitting</a></div><div class="ttdeci">void InnerIteratorSplitting(SplitCellLists &amp;split_cell_lists, InnerFunctor &amp;inner_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:72</div></div>
<div class="ttc" id="struct_s_p_h_1_1_reduce_upper_bound_html"><div class="ttname"><a href="struct_s_p_h_1_1_reduce_upper_bound.html">SPH::ReduceUpperBound</a></div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:107</div></div>
<div class="ttc" id="namespace_s_p_h_html_ab3fc1b1f18f3097bb92b3d4cf6913139"><div class="ttname"><a href="namespace_s_p_h.html#ab3fc1b1f18f3097bb92b3d4cf6913139">SPH::ContatcParticleConfiguration</a></div><div class="ttdeci">StdVec&lt; ParticleConfiguration &gt; ContatcParticleConfiguration</div><div class="ttdef"><b>Definition:</b> neighbor_relation.h:96</div></div>
<div class="ttc" id="class_s_p_h_1_1_s_p_h_body_html"><div class="ttname"><a href="class_s_p_h_1_1_s_p_h_body.html">SPH::SPHBody</a></div><div class="ttdoc">SPHBody is a base body with basic data and functions. Its derived class can be a real fluid body...</div><div class="ttdef"><b>Definition:</b> base_body.h:73</div></div>
<div class="ttc" id="namespace_s_p_h_html_ae67614e6fa390ff328d75e153953266b"><div class="ttname"><a href="namespace_s_p_h.html#ae67614e6fa390ff328d75e153953266b">SPH::ReduceIterator_parallel</a></div><div class="ttdeci">ReturnType ReduceIterator_parallel(size_t number_of_particles, ReturnType temp, ReduceFunctor&lt; ReturnType &gt; &amp;reduce_functor, ReduceOperation &amp;ruduce_operation, Real dt=0.0)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.hpp:58</div></div>
<div class="ttc" id="namespace_s_p_h_html_a8943304f1889fc056ab4ddb8ff8f0cd6"><div class="ttname"><a href="namespace_s_p_h.html#a8943304f1889fc056ab4ddb8ff8f0cd6">SPH::CellListIteratorSplitting</a></div><div class="ttdeci">void CellListIteratorSplitting(SplitCellLists &amp;split_cell_lists, CellListFunctor &amp;cell_list_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:29</div></div>
<div class="ttc" id="external__force_8h_html"><div class="ttname"><a href="external__force_8h.html">external_force.h</a></div><div class="ttdoc">Here, we define the base external foce class. </div></div>
<div class="ttc" id="class_s_p_h_1_1_dynamics_html"><div class="ttname"><a href="class_s_p_h_1_1_dynamics.html">SPH::Dynamics</a></div><div class="ttdoc">The base class for all dynamics This class contains the only two interface functions available for pa...</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:136</div></div>
<div class="ttc" id="all__types__of__bodies_8h_html"><div class="ttname"><a href="all__types__of__bodies_8h.html">all_types_of_bodies.h</a></div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_with_complex_configurations_html"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_with_complex_configurations.html">SPH::ParticleDynamicsWithComplexConfigurations</a></div><div class="ttdoc">This is the bas class for the case with contact configurations. </div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:226</div></div>
<div class="ttc" id="namespace_s_p_h_html"><div class="ttname"><a href="namespace_s_p_h.html">SPH</a></div><div class="ttdef"><b>Definition:</b> base_body_supplementary.cpp:11</div></div>
<div class="ttc" id="namespace_s_p_h_html_ae524ec7b1541d0c8e69f8958bba90d22"><div class="ttname"><a href="namespace_s_p_h.html#ae524ec7b1541d0c8e69f8958bba90d22">SPH::InnerIteratorSplitting_parallel</a></div><div class="ttdeci">void InnerIteratorSplitting_parallel(SplitCellLists &amp;split_cell_lists, InnerFunctor &amp;inner_functor, Real dt)</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.cpp:89</div></div>
<div class="ttc" id="class_s_p_h_1_1_particle_dynamics_html"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics.html">SPH::ParticleDynamics</a></div><div class="ttdoc">Particle dynamics base class Bodies are involved the dynamics of a designated body and the bodies int...</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:159</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
